package com.hqyj.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @Description 读取application-sms文件
 * @Autor 伍军
 * @Date 2022/10/28 14:01
 * @Version 1.0
 **/
@Component
@PropertySource(value = "application-sms.properties",encoding = "utf-8")
@Data
public class Sms {

    @Value("${smsId}")
    private String smsId;
    @Value("${smsKey}")
    private String smsKey;
    @Value("${smsTemplateId}")
    private String smsTemplateId;
    @Value("${smsSdk}")
    private String smsSdk;
    @Value("${smsName}")
    private String smsName;



}
